import { service } from "@/utils/request";

/**
 * 
 * @param {获取用户菜单列表};
 * @returns 
 * 
 */
export const getMenus = (data?: object) => {
  return service({
    url: '/menu/account/menus',
    method: 'post',
    data
  })
};

/**
 * 
 * @param {获取用户信息};
 * @returns 
 * 
 */
export const getUserInfo = (data?: object) => {
  return service({
    url: '/basic-data/get/realName',
    method: 'post',
    data
  })
};